package com.changpay.zywy.mvp.model


import com.changpay.zywy.base.BaseModel
import com.changpay.zywy.http.RetrofitHelper
import com.changpay.zywy.mvp.contract.*
import com.changpay.zywy.bean.*
import io.reactivex.Observable

/**
 * Created by chenxz on 2018/5/27.
 */
class CountTotalModel : BaseModel(), CountTotalContract.Model {
    override fun getStats(map: MutableMap<String, String>): Observable<HttpResult<CountBean>> {
        return  RetrofitHelper.service.getStats(map)
    }

}